package com.epfresh.supplier.entity;

import java.util.List;

/**
 * Created by zhaozhenqiang on 2017/12/8.
 */

public class BuyerFilter {
    private List<BuyerFilter.CitiesBean> stockStatuss;
    private List<BuyerFilter.CitiesBean> merchantIds;

    public List<BuyerFilter.CitiesBean> getStockStatuss() {
        return stockStatuss;
    }
    public void setStockStatuss(List<BuyerFilter.CitiesBean> stockStatuss) {
        this.stockStatuss = stockStatuss;
    }

    public List<BuyerFilter.CitiesBean> getMerchantIds() {
        return merchantIds;
    }
    public void setMerchantIds(List<BuyerFilter.CitiesBean> merchantIds) {
        this.merchantIds = merchantIds;
    }

    private List<NamesBean> names;
    private List<CitiesBean> cities;

    public List<NamesBean> getNames() {
        return names;
    }

    public void setNames(List<NamesBean> names) {
        this.names = names;
    }

    public List<CitiesBean> getCities() {
        return cities;
    }

    public void setCities(List<CitiesBean> cities) {
        this.cities = cities;
    }

    public static class NamesBean {
        /**
         * name : 蔬菜
         * id : 1
         * child : [{"name":"韭菜","id":57}]
         */

        private String name;
        private String id;
        private List<ChildBean> child;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        public static class ChildBean {
            /**
             * name : 韭菜
             * id : 57
             */

            private String name;
            private String id;
            private boolean selectFlag;

            public boolean isSelectFlag() {
                return selectFlag;
            }

            public void setSelectFlag(boolean selectFlag) {
                this.selectFlag = selectFlag;
            }
            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }

    public static class CitiesBean {
        /**
         * code : 6401
         * name : 银川市
         */

        private String code;
        private String name;
        private boolean selectFlag;

        public boolean isSelectFlag() {
            return selectFlag;
        }

        public void setSelectFlag(boolean selectFlag) {
            this.selectFlag = selectFlag;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
